package com.forcht.common.enumeration;

/**
 * Created by forcht on 2018/4/11.
 */
public enum  MessageType {
    LOGIN(1,"登录"),
    LOGOUT(2,"注销"),
    CHAT_ONE(3,"单聊"),
    CHAT_MORE(4,"群发");

    private int code;
    private String description;

    MessageType(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
